package com.cafuc.util;

import java.io.IOException;
import java.util.Properties;

public class ConfigUtil {
    public static Properties properties = new Properties();
    static {
        try {
            properties.load(ConfigUtil.class.getClassLoader().getResourceAsStream("jdbc.properties"));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        System.out.println(ConfigUtil.properties.get("jdbc.driverClassName"));
    }
}
